package com.py.inbound.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 进货退货对象 od_in_rejected
 * 
 * @author 童佳
 * @date 2024-12-05
 */
public class OdInRejected extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Integer prId;

    /** 退货单号 */
    @Excel(name = "退货单号")
    private String prCode;

    /** 单据状态 */
    @Excel(name = "单据状态")
    private String prState;

    /** 退货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date prTime;

    /** 进货单号 */
    @Excel(name = "进货单号")
    private String phCode;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 进货部门 */
    @Excel(name = "进货部门")
    private String phDept;

    /** 进货人 */
    @Excel(name = "进货人")
    private String phPerson;

    /** 退货数量 */
    @Excel(name = "退货数量")
    private Integer rejectedNum;

    /** 退货金额 */
    @Excel(name = "退货金额")
    private BigDecimal rejectedMoney;

    /** 退货原因 */
    private String rejectedReason;

    /** 所在部门 */
    @Excel(name = "所在部门")
    private String createDept;

    /** 审核人 */
    @Excel(name = "审核人")
    private String reviewer;

    /** 审核原因 */
    private String reviewerReport;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewerTime;

    /** 逻辑删除 */
    private String isDel;

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    @Transient
    private Integer number;
    private String supplierName;

    public Date getPhDate() {
        return phDate;
    }

    public void setPhDate(Date phDate) {
        this.phDate = phDate;
    }

    private Date phDate;//扩展进货日期
//    public SysDept getSysDept() {
//        return sysDept;
//    }
//
//    public void setSysDept(SysDept sysDept) {
//        this.sysDept = sysDept;
//    }
//
//    public PySuppliers getPySuppliers() {
//        return pySuppliers;
//    }
//
//    public void setPySuppliers(PySuppliers pySuppliers) {
//        this.pySuppliers = pySuppliers;
//    }

    @Transient
    private Integer codeId;

    @Transient
    private List<Object> fileList;

//    private SysDept sysDept;
//    private PySuppliers pySuppliers;

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    private Integer supplierId;

//    /** $table.subTable.functionName信息 */
//    private List<OdRejectedDetails> odRejectedDetailsList;


    public List<Object> getFileList() {
        return fileList;
    }

    public void setFileList(List<Object> fileList) {
        this.fileList = fileList;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getCodeId() {
        return codeId;
    }

    public void setCodeId(Integer codeId) {
        this.codeId = codeId;
    }

    public void setPrId(Integer prId)
    {
        this.prId = prId;
    }

    public Integer getPrId() 
    {
        return prId;
    }
    public void setPrCode(String prCode) 
    {
        this.prCode = prCode;
    }

    public String getPrCode() 
    {
        return prCode;
    }
    public void setPrState(String prState) 
    {
        this.prState = prState;
    }

    public String getPrState() 
    {
        return prState;
    }
    public void setPrTime(Date prTime) 
    {
        this.prTime = prTime;
    }

    public Date getPrTime() 
    {
        return prTime;
    }
    public void setPhCode(String phCode) 
    {
        this.phCode = phCode;
    }

    public String getPhCode() 
    {
        return phCode;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPhDept(String phDept) 
    {
        this.phDept = phDept;
    }

    public String getPhDept() 
    {
        return phDept;
    }
    public void setPhPerson(String phPerson) 
    {
        this.phPerson = phPerson;
    }

    public String getPhPerson() 
    {
        return phPerson;
    }
    public void setRejectedNum(Integer rejectedNum) 
    {
        this.rejectedNum = rejectedNum;
    }

    public Integer getRejectedNum() 
    {
        return rejectedNum;
    }
    public void setRejectedMoney(BigDecimal rejectedMoney) 
    {
        this.rejectedMoney = rejectedMoney;
    }

    public BigDecimal getRejectedMoney() 
    {
        return rejectedMoney;
    }
    public void setRejectedReason(String rejectedReason) 
    {
        this.rejectedReason = rejectedReason;
    }

    public String getRejectedReason() 
    {
        return rejectedReason;
    }
    public void setCreateDept(String createDept) 
    {
        this.createDept = createDept;
    }

    public String getCreateDept() 
    {
        return createDept;
    }
    public void setReviewer(String reviewer) 
    {
        this.reviewer = reviewer;
    }

    public String getReviewer() 
    {
        return reviewer;
    }
    public void setReviewerReport(String reviewerReport) 
    {
        this.reviewerReport = reviewerReport;
    }

    public String getReviewerReport() 
    {
        return reviewerReport;
    }
    public void setReviewerTime(Date reviewerTime) 
    {
        this.reviewerTime = reviewerTime;
    }

    public Date getReviewerTime() 
    {
        return reviewerTime;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }



    @Override
    public String toString() {
        return "OdInRejected{" +
                "prId=" + prId +
                ", prCode='" + prCode + '\'' +
                ", prState='" + prState + '\'' +
                ", prTime=" + prTime +
                ", phCode='" + phCode + '\'' +
                ", supplier='" + supplier + '\'' +
                ", contacts='" + contacts + '\'' +
                ", phone='" + phone + '\'' +
                ", phDept='" + phDept + '\'' +
                ", phPerson='" + phPerson + '\'' +
                ", rejectedNum=" + rejectedNum +
                ", rejectedMoney=" + rejectedMoney +
                ", rejectedReason='" + rejectedReason + '\'' +
                ", createDept='" + createDept + '\'' +
                ", reviewer='" + reviewer + '\'' +
                ", reviewerReport='" + reviewerReport + '\'' +
                ", reviewerTime=" + reviewerTime +
                ", isDel='" + isDel + '\'' +
                ", number=" + number +
                ", codeId=" + codeId +
                ", fileList=" + fileList +

                '}';
    }
}
